//
//  SYLeftViewController.m
//  MicroNews
//
//  Created by tongcheng on 15/10/26.
//  Copyright © 2015年 siyue. All rights reserved.
//

#import "SYLeftViewController.h"
#import "SYLeftMenuView.h"
#import "SYLeftButton.h"

//定义左边菜单栏的宽、高 y
#define LeftMenuW    ScreenWidth*0.65

@interface SYLeftViewController()<SYLeftMenuViewDelegate>


@end



@implementation SYLeftViewController


- (void)viewDidLoad
{
    [super viewDidLoad];
    
    SYLeftMenuView *leftMenu = [[SYLeftMenuView alloc] initWithFrame:CGRectMake(0, 0,LeftMenuW+20,ScreenHeight)];
    [self.view insertSubview:leftMenu atIndex:1];
//    leftMenu.delegate = self; //头像点击的代理
    self.leftMenu = leftMenu;

}


@end
